From: Keir Fraser Date: Thu, 7 May 2009 09:03:18 +0000 (+0100) Subject: xend: fix the pci BDF format string X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13933 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=ca8d042e26e9b6e98e2b6bfcbba0c8025e135012;p=xen.git xend: fix the pci BDF format string Fix the typo introduced by changeset 19446:2ef77b4bdf58. Signed-off-by: Dexuan Cui --- diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index ae3bc5a914..a460bc8a3a 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -2197,7 +2197,7 @@ def xm_pci_list_assignable_devices(args): devs = server.xend.node.pciinfo() - fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x:%(func)01x" + fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x.%(func)01x" for x in devs: pci = parse_pci_info(x) print fmt_str % pci